import 'package:flutter/material.dart';

class Movie extends StatelessWidget {

  Movie({Key key, @required this.title, @required this.imgUrl}):super(key: key);
  final String title;
  final String imgUrl;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('$title')),
      body: Center(
        child: Image(
          image: NetworkImage('$imgUrl'),
        ),
      ),
    );
  }
}